package model;

import java.io.IOException;

import org.newdawn.slick.opengl.Texture;
import org.newdawn.slick.opengl.TextureLoader;
import org.newdawn.slick.util.ResourceLoader;

public class ImageLoader {
	
	public Texture loadImage(String path) throws IOException{
		return TextureLoader.getTexture("PNG", ResourceLoader.getResourceAsStream(path));
	}
}
